set(
    mem_src
    spw_alloc.cc 
    spw_new.cc 
    )

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -frtti")
add_library(mem_lib_obj
    OBJECT
    ${mem_src}
    )
target_include_directories(mem_lib_obj PRIVATE ${CMAKE_SOURCE_DIR})
target_compile_options(mem_lib_obj PRIVATE -Wno-sized-deallocation)
